package com.bfsuolframework.core.entity;

import java.io.Serializable;

/**
 * Description: 实体类的接口
 * Copyright:   Copyright (c) 2013
 * Company:    BeiwaiOnline
 * @author     caoxl
 * @version    1.0
 * @since 
 *  2013-3-28 caoxl Create File
 */
public interface Entity extends Serializable {
	
	/**
	 * 主键
	 * @return
	 */
	public Long getId();

	/**
	 * @return 是否是新建的
	 */
	public boolean isNew();


}
